package com.wzh.house.dao;

import com.wzh.house.entity.RentHouseEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author wzh
 * @email 1281204121@qq.com
 * @date 2022-03-22 19:04:16
 */
@Mapper
public interface RentHouseDao extends BaseMapper<RentHouseEntity> {

    List<RentHouseEntity> selectId(@Param("userId") Integer userId);

    List<RentHouseEntity> selectBySort(int i);

    List<RentHouseEntity> ListDesc();
}
